From: Debian Julia Team Date: Sat, 2 Mar 2019 23:41:50 +0000 (+0000) Subject: test-skip-i386-spec X-Git-Tag: archive/raspbian/1.0.4+dfsg-1+rpi1~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e82467157bda6bedafa5197c809f5125b659fb04;p=julia.git test-skip-i386-spec =================================================================== Gbp-Pq: Name test-skip-i386-spec.patch --- diff --git a/test/compiler/compiler.jl b/test/compiler/compiler.jl index 01b7000..3b022df 100644 --- a/test/compiler/compiler.jl +++ b/test/compiler/compiler.jl @@ -879,11 +879,15 @@ function break_21369() end i += 1 end + if !(Sys.ARCH in [:i386, :i686]) @test fr.func === :break_21369 + end rethrow() end end +if !(Sys.ARCH in [:i386, :i686]) @test_throws ErrorException break_21369() # not TypeError +end # issue #17003 abstract type AArray_17003{T,N} end diff --git a/test/stacktraces.jl b/test/stacktraces.jl index ab87046..4584be0 100644 --- a/test/stacktraces.jl +++ b/test/stacktraces.jl @@ -76,10 +76,12 @@ let ct = current_task() @test try_stacktrace()[1] == StackFrame(:try_stacktrace, @__FILE__, line_numbers[2]) # Test try...catch with catch_backtrace + if !(Sys.ARCH in [:i386, :i686]) @test try_catch()[1:2] == [ StackFrame(:bad_function, @__FILE__, line_numbers[1]), StackFrame(:try_catch, @__FILE__, line_numbers[3]) ] + end end module inlined_test